package com.third.customer.model;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by hehuaichun on 2020/5/17.
 */
@Configuration
public class MybatisPlusConfiguration {

    /**
     * 分页工具
     */
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
